#!/usr/bin/env bash
set -euo pipefail

# 数据库迁移
python manage.py migrate --noinput || true

# 启动 Gunicorn
exec gunicorn --bind 0.0.0.0:8000 --workers 3 huanghuai_system.wsgi:application


